
import store from "@/store";

interface headersModel {
    headers?: any
}
class Config {
    host: string;
    constructor() {
        this.host = '//localhost:8080/api';
    }

    // 设置请求头数据
    setHeader(o: headersModel) {
        o.headers.token = store.getters.user_authentication;
    }
}

export default new Config();